<?

	include 'model/xl_dia_diem.php';
	include "model/xl_tinh_thanh.php";
	include "model/xl_nhom_dia_diem.php";
	
	$xl_tinh_thanh = new xl_tinh_thanh();
	$xl_nhom_dia_diem = new xl_nhom_dia_diem();
	$arrTinhThanh = $xl_tinh_thanh->danhSachTinhThanh();
	$arrNhomDiaDiem = $xl_nhom_dia_diem->danhSachNhomDiaDiem();
	
	$xl_dia_diem = new xl_dia_diem();

	$madiadiem = $_REQUEST['idPlace'];
	
	$arr = $xl_dia_diem->diaDiem($madiadiem);
	$diadiem = $arr[0];
	$diachi = explode("-",$diadiem['DiaChi']);
	$sonha = $diachi[0];
	$duong = $diachi[1];
	
	require 'pages/sua-dia-diem.php';
?>